﻿@model Helper.Core.Entity.Post

@using (Html.BeginForm()) {
    @Html.ValidationSummary(true)
    
        <div class="editor-label">
            @Html.LabelFor(model => model.Status)
        </div>
    
        <div class="editor-field">
        @{
           List<Helper.Core.Entity.Status> list = ViewBag.StatusList;
           var items = new SelectList(list, "Id", "Name");
         }
            @Html.DropDownListFor(model => model.Status.Id, @items)            
        </div>
    
        <div class="editor-field" >
            @Html.TextAreaFor(model => model.Content, new { Class = "Content-Call-Box" })
            @Html.ValidationMessageFor(model => model.Content)
        </div>

        <p>
            <input type="submit" value="Responder" />
        </p>
}
